<template>
    <div>
        <h1>Shanwen，我接收到的值是：{{ shanwenValue}},{{ shanwenB}},{{ shanwenC}}</h1>
        <button @click="add">按我加1</button>
    </div>
</template>
<script>
export default ({
    // props:['shanwenValue','shanwenB','shanwenC'],
    props: {
        shanwenValue: {
            type: Number,
            default:500
        },
        shanwenB: Number,
        shanwenC: Number
    },
    data() {
        return {
            a: 100
        }
    },
    methods: {
        add() {
            this.a++;
        }
    },

})
</script>
<style></style>
